package projet_ihm;

import java.util.ArrayList;

public class Recette  {
	private String nomRecette;
	private int nbPers;
	private int nbIngre;
	private ArrayList ListIngre;
	private int time;
	
	
	public Recette(String nomRecette, int nbPers, int nbIngre,ArrayList listIngre, int time) {
		super();
		this.nomRecette = nomRecette;
		this.nbPers = nbPers;
		this.nbIngre = nbIngre;
		ListIngre = listIngre;
		this.time = time;
	}
	
	public String getNomRecette() {
		return nomRecette;
	}
	public void setNomRecette(String nomRecette) {
		this.nomRecette = nomRecette;
	}
	public int getNbPers() {
		return nbPers;
	}
	public void setNbPers(int nbPers) {
		this.nbPers = nbPers;
	}
	public int getNbIngre() {
		return nbIngre;
	}
	public void setNbIngre(int nbIngre) {
		this.nbIngre = nbIngre;
	}
	public ArrayList getListIngre() {
		return ListIngre;
	}
	public void setListIngre(ArrayList listIngre) {
		ListIngre = listIngre;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	
	
	
	public String toString(){
		String txt = "";
		txt += "Name :" + this.nomRecette  ;
		return txt;
	}
	
	
	
	
}
